package cn.com.xf.dao;

import java.util.List;

import cn.com.xf.domain.TblRegVisitor;

public interface TblRegVisitorDAO {
	List<TblRegVisitor> selectReg(TblRegVisitor trv);
	
	TblRegVisitor selectById(String vid);
	
	List<TblRegVisitor> selectIntraday();
	
	int vauditById(String vid);
		
	int delAppointById(String vid);
	
	int outById(TblRegVisitor trv);
	
	void insertVisit(TblRegVisitor trv);
	
	int updateVisit(TblRegVisitor trv);
	
	void insertAppoint(TblRegVisitor trv);
	
	int updateAppoint(TblRegVisitor trv);
	
	int appointToVisit(TblRegVisitor trv);
		
	int selectCountAppoint(String staffid,String vname,String status,String vaudit,String appointtimeStart,String appointtimeEnd);
	
	List<TblRegVisitor> selectAppoint(int begin, int pageSize, String orderByField, String orderByMode,String staffid,String vname,String status,String vaudit,String appointtimeStart,String appointtimeEnd);
	
	int selectCountVisit(String username,String vname,String vid,String visittimeStart,String visittimeEnd);
	
	List<TblRegVisitor> selectRegVisitor(int begin, int pageSize, String orderByField, String orderByMode,String username,String vname,String vid,String visittimeStart,String visittimeEnd);
}